From d5175526f93f9fd5ba2018987f8bc77824faf5d9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 27 Mar 2019 04:53:56 +0100 Subject: [PATCH] reftests: Fix treeview-fixed-height test Convert -gtk-gradient() to linear-gradient in the CSS. --- testsuite/reftests/treeview-fixed-height.css | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/testsuite/reftests/treeview-fixed-height.css b/testsuite/reftests/treeview-fixed-height.css index 4ac59da430..a448ebca15 100644 --- a/testsuite/reftests/treeview-fixed-height.css +++ b/testsuite/reftests/treeview-fixed-height.css @@ -54,23 +54,19 @@ GtkCheckButton:selected { /* GRADIENTS */ button, .notebook tab:active, .slider { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@color_base, 1.2)), to (@color_base)); + background-image: linear-gradient(to bottom, shade (@color_base, 1.2), @color_base); } button:active, .notebook tab, .trough { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@color_base, 0.8)), to (@color_base)); + background-image: linear-gradient(to bottom, shade (@color_base, 0.8), @color_base); } button.vertical, .slider.vertical { - background-image: -gtk-gradient (linear, left top, right top, - from (shade (@color_base, 1.2)), to (@color_base)); + background-image: linear-gradient(to right, shade (@color_base, 1.2), @color_base); } button.vertical:active, .trough.vertical { - background-image: -gtk-gradient (linear, left top, right top, - from (shade (@color_base, 0.8)), to (@color_base)); + background-image: linear-gradient(to right, shade (@color_base, 0.8), @color_base); } column-header > .button { @@ -78,14 +74,12 @@ column-header > .button { } .progressbar { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@color_sel, 1.2)), to (@color_sel)); + background-image: linear-gradient(to bottom, shade (@color_sel, 1.2), @color_sel); border-color: shade (@color_sel, 0.7); } .progressbar.vertical { - background-image: -gtk-gradient (linear, left top, right top, - from (shade (@color_sel, 1.2)), to (@color_sel)); + background-image: linear-gradient(to right, shade (@color_sel, 1.2), @color_sel); } /* SPACING */ -- 2.30.2